package com.ponxu.web.core;

import java.io.IOException;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 结果处理
 * 
 * @author xwz
 * 
 */
public abstract class ResultRender {
	public void init(ServletContext app) {
	}

	public void before(HttpServletRequest request,
			HttpServletResponse response, String result)
			throws ServletException, IOException {
	}

	public void render(HttpServletRequest request,
			HttpServletResponse response, String result)
			throws ServletException, IOException {
	}

	public void after(HttpServletRequest request, HttpServletResponse response,
			String result) throws ServletException, IOException {
	}
}
